package com.sleepapp.service;

import com.sleepapp.entity.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sleepapp.vo.PageQueryInfo;
import com.sleepapp.vo.PageQueryParamVo;
import com.sleepapp.vo.ProductQueryAllVo;
import com.sleepapp.vo.UProductQueryAllVo;

import javax.validation.Valid;
import java.util.List;

/**
 * <p>
 * 商品表 服务类
 * </p>
 *
 * @author 
 * @since 2025-03-13
 */
public interface ProductService extends IService<Product> {

    PageQueryInfo<List<ProductQueryAllVo>> getAll(PageQueryParamVo pageQueryParamVo);

    PageQueryInfo<List<UProductQueryAllVo>> getAllByUser(PageQueryParamVo pageQueryParamVo);
}
